package com.biz.primus.management.coupon.type;

import com.biz.primus.account.config.CasConfig;
import com.biz.primus.management.base.config.BaseConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * 优惠券管理页面启动器
 *
 * @author david-liu
 */
@SpringCloudApplication
@Import(BaseConfiguration.class)
@EnableFeignClients(basePackages = "com.biz.primus.management.coupon.type.feign")
@ComponentScan({"com.biz.primus.management.coupon.type", "com.biz.primus.management.base.controller"})
public class CouponManagementApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        new SpringApplicationBuilder().web(true).run(args);
    }
}
